import numpy as np
import random as rd

range_max = 100
def rd_index(length=range_max):
    return (int)(rd.random()*length)
def exclusive():

    range_zheng = np.random.random((range_max,1))*10
    range_fu = np.random.random((range_max,1))*-10

    vec_data = []
    label =[]
    for i in range(100):
        vec_data.append((range_zheng[rd_index()][0]+2,range_zheng[rd_index()][0]+2))
        vec_data.append((range_fu[rd_index()][0]-2,range_zheng[rd_index()][0]+2))
        vec_data.append((range_fu[rd_index()][0]-2,range_fu[rd_index()][0]-2))
        vec_data.append((range_zheng[rd_index()][0]+2,range_fu[rd_index()][0]-2))
        label.append([1])
        label.append([2])
        label.append([3])
        label.append([4])
    return np.array(vec_data),np.array(label)

#print(x,x1)